package com.gsoe.judge.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gsoe.base.model.PageResult;
import com.gsoe.dto.CheckProblemAnswerDTO;
import com.gsoe.dto.ProblemRecordDTO;
import com.gsoe.po.Judge;
import com.gsoe.vo.JudgeVO;
import com.gsoe.vo.ProblemRecordVO;

import java.util.List;


/**
 * <p>
 * 用户刷题记录 服务类
 * </p>
 *
 * @author xiaoma
 * @since 2024-11-04
 */
public interface JudgeService extends IService<Judge> {

    JudgeVO submitAnswer(CheckProblemAnswerDTO checkProblemAnswerDTO);

    PageResult<ProblemRecordVO> getProblemRecord(ProblemRecordDTO problemRecordDTO);

    List<Judge> getProblemNumber(Long userId);
}
